package com.sp.system.user.mq.receiver;

import com.sp.system.user.core.customer.ITopicCustomer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class OrderTopicReceiver implements ITopicCustomer {


    public final static String CENTER_CMS_SYNC = "Center.SP.Sync";


    @Override
    @JmsListener(destination = CENTER_CMS_SYNC, containerFactory = "jmsListenerContainerTopic")
    public void receiveStringTopic(String message) throws Exception {
        log.debug("CMS 接收广播消息{}", message);


    }

}
